package com.yorick.authority.dao;

import com.yorick.authority.entitys.BaseListDto;
import com.yorick.authority.entitys.IPWhiteListDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IPWhiteListMapper {
    List<IPWhiteListDto> getIPWhiteList(BaseListDto baseListDto);
    Integer ipWhiteListTotal(BaseListDto baseListDto);
    void insertIPWhiteList(IPWhiteListDto ipWhiteListDto);
    void updateIPWhiteList(IPWhiteListDto ipWhiteListDto);
    IPWhiteListDto getIPWhiteListById(int id);
    void deleteIPWhiteListById(int id);
}
